<div class="filtros">
    <div class="un-filtro social-link">
        <div class="title"><h3>Social</h3></div>
        <ul>
            <li>
                <g:plusone></g:plusone>
                <script type="text/javascript">
                    window.___gcfg = {
                        lang: 'es'
                        };

                        (function() {
                        var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
                        po.src = 'https://apis.google.com/js/plusone.js';
                        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
                    })();
                </script>
            </li>
            <li>
                <iframe src="http://www.facebook.com/plugins/like.php?href={{app.request.uri}}&amp;layout=button_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe>
            </li>
        </ul>
    </div>
    <div class="un-filtro filtro-genero">
        <div class="title"><h3>Por genero</h3></div>
        <ul>
            {% for tag,cant  in filtroSexo %}
                {% if cant > 0 %}
                    <li>
                        <a href="{{ tag|concat_tag_sexo(tagsSexo) }}">{{ tag }} <span class="cant">({{ cant }})</span></a>
                        {% if quitarSexo|seo_url == tag|seo_url %}
                            <a class="sp remfiltro" href="{{ tagsSexo|getLinkByTags }}"></a>
                        {% endif %}
                    </li>
                {% endif %}
            {% endfor %}
        </ul>
    </div>
    
    <div class="un-filtro filtro-ubicacion">
        <div class="title"><h3>Por ubicación</h3></div>
        <ul>
            {% for tag,cant  in filtroPais %}
                {% if cant >= numGrandePaises %}
                <li class="grande">
                {% elseif cant >= numMedioPaises %}
                <li class="medio">
                {% else %}
                <li class="chico">
                {% endif %}
                    <a href="{{ tag|concat_tag_pais(tagsPais) }}">{{ tag }} <span class="cant">({{ cant }})</span></a>
                    {% if quitarPais|seo_url == tag|seo_url %}
                        <a class="sp remfiltro" href="{{ tagsPais|getLinkByTags }}"></a>
                    {% endif %}
                </li>
            {% endfor %}
        </ul>
    </div>
    
    <div class="un-filtro filtro-para">
        <div class="title"><h3>Para</h3></div>
        <ul>
            {% for tag,cant  in filtroPara %}
                {% if cant >= numGrandePara %}
                <li class="grande">
                {% elseif cant >= numMedioPara %}
                <li class="medio">
                {% else %}
                <li class="chico">
                {% endif %}
                    <a href="{{ tag|concat_tag_para(tagsPara) }}">{{ tag }} <span class="cant">({{ cant }})</span></a>
                    {% if quitarPara|seo_url == tag|seo_url %}
                        <a class="sp remfiltro" href="{{ tagsPara|getLinkByTags }}"></a>
                    {% endif %}
                </li>
            {% endfor %}
        </ul>
    </div>
    
    {% if is_granted('ROLE_USER') %}
        {% render "AmistateBundle:listados:filtroMapa" %}
    {% endif %}
</div>